package com.jlkf.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

public class User {
    @NotNull
    private Long id;

    private String userAccount;
  //作为lastName
    private String name;

    private String telephone;

    private String password;

    private String inviattionCode;

    private Integer sex;

    private Integer age;

    private String picture;

    private String email;

    private Integer identity;

    private Integer shareNum;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private Double remark;

    private Long cityId;

    private String cardId;

    private String licenceType;

    private String licenceImg;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date licenceValidity;

    private String address;

    private String company;

    private Integer rideLike;

    private String detail;

    private Long isSethonor;

    private Integer driverStatus;

    private Integer isDeleted;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date loginTime;

    private Integer isOnline;

    private String qualification;

    private String postcode;
    //使用语言
    private Integer language;
    
    private String vCode;
    
    private String facebookOpenId;
    
    private Long carId;
    
    private Integer is_last_order;
    
    private String firstName;
    
    private String middleName;
    //使用平台
    private String auroraAlias;
    //营业执照号码
    private String businessLicense;
   //被邀请邀请码
    private String beinvitecode;
    private Integer invitenum;
    private Double consumetotal;
    private Double mileage;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    
    private String applicantDetails;
    //网站使用  司机的签名
    private String driverSign;
   //Driver Accreditation or Driver Authortiy 
    private String driverAccreditation;
    //证书的货币
    private String certificateOfCurrency;
    
    public String getBeinvitecode() {
        return beinvitecode;
    }

    public void setBeinvitecode(String beinvitecode) {
        this.beinvitecode = beinvitecode;
    }

    public Integer getInvitenum() {
        return invitenum;
    }

    public void setInvitenum(Integer invitenum) {
        this.invitenum = invitenum;
    }

    public Double getConsumetotal() {
        return consumetotal;
    }

    public void setConsumetotal(Double consumetotal) {
        this.consumetotal = consumetotal;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone == null ? null : telephone.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getInviattionCode() {
        return inviattionCode;
    }

    public void setInviattionCode(String inviattionCode) {
        this.inviattionCode = inviattionCode == null ? null : inviattionCode.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }

    public Integer getShareNum() {
        return shareNum;
    }

    public void setShareNum(Integer shareNum) {
        this.shareNum = shareNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getRemark() {
        return remark;
    }

    public void setRemark(Double remark) {
        this.remark = remark;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    public String getLicenceType() {
        return licenceType;
    }

    public void setLicenceType(String licenceType) {
        this.licenceType = licenceType == null ? null : licenceType.trim();
    }

    public String getLicenceImg() {
        return licenceImg;
    }

    public void setLicenceImg(String licenceImg) {
        this.licenceImg = licenceImg == null ? null : licenceImg.trim();
    }

    public Date getLicenceValidity() {
        return licenceValidity;
    }

    public void setLicenceValidity(Date licenceValidity) {
        this.licenceValidity = licenceValidity;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company == null ? null : company.trim();
    }

    public Integer getRideLike() {
        return rideLike;
    }

    public void setRideLike(Integer rideLike) {
        this.rideLike = rideLike;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public Long getIsSethonor() {
        return isSethonor;
    }

    public void setIsSethonor(Long isSethonor) {
        this.isSethonor = isSethonor;
    }

    public Integer getDriverStatus() {
        return driverStatus;
    }

    public void setDriverStatus(Integer driverStatus) {
        this.driverStatus = driverStatus;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getIsOnline() {
        return isOnline;
    }

    public void setIsOnline(Integer isOnline) {
        this.isOnline = isOnline;
    }

    public String getQualification() {
        return qualification;
    }

    public void setQualification(String qualification) {
        this.qualification = qualification == null ? null : qualification.trim();
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode == null ? null : postcode.trim();
    }

	public Integer getLanguage() {
		return language;
	}

	public void setLanguage(Integer language) {
		this.language = language;
	}

	public String getvCode() {
		return vCode;
	}

	public void setvCode(String vCode) {
		this.vCode = vCode;
	}

	public String getFacebookOpenId() {
		return facebookOpenId;
	}

	public void setFacebookOpenId(String facebookOpenId) {
		this.facebookOpenId = facebookOpenId;
	}

	public Long getCarId() {
		return carId;
	}

	public void setCarId(Long carId) {
		this.carId = carId;
	}

	public Integer getIs_last_order() {
		return is_last_order;
	}

	public void setIs_last_order(Integer is_last_order) {
		this.is_last_order = is_last_order;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getMiddleName() {
		return middleName;
	}

	public void setMiddleName(String middleName) {
		this.middleName = middleName;
	}

	public String getAuroraAlias() {
		return auroraAlias;
	}

	public void setAuroraAlias(String auroraAlias) {
		this.auroraAlias = auroraAlias;
	}

	public String getBusinessLicense() {
		return businessLicense;
	}

	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getApplicantDetails() {
		return applicantDetails;
	}

	public void setApplicantDetails(String applicantDetails) {
		this.applicantDetails = applicantDetails;
	}

	public String getDriverSign() {
		return driverSign;
	}

	public void setDriverSign(String driverSign) {
		this.driverSign = driverSign;
	}

	public String getDriverAccreditation() {
		return driverAccreditation;
	}

	public void setDriverAccreditation(String driverAccreditation) {
		this.driverAccreditation = driverAccreditation;
	}

	public String getCertificateOfCurrency() {
		return certificateOfCurrency;
	}

	public void setCertificateOfCurrency(String certificateOfCurrency) {
		this.certificateOfCurrency = certificateOfCurrency;
	}
    
}